package com.acme.bankapp.domain.bank;

import com.acme.bankapp.service.bank.NotEnoughFundsException;

interface Account {

    public double getBalance();

    public void deposit(double x);

    public void withdraw(double x) throws NotEnoughFundsException;

    public double maximumAmountToWithdraw();

}